package thread.wang_bao_ling.c35;

/**
 * 两阶段终止模式终止线程示例
 * @Auther: luobiao
 * @Date: 2020/7/23 07:58
 * @Description:
 */
public class Test {
    public static void main(String[] args) throws InterruptedException {
        Proxy proxy=new Proxy();
        proxy.start();
        Thread.sleep(5000);
        proxy.stop();
    }
}
